package cn.doitedu.webserver;

public class ErrorServlet implements HttpServlet{
    @Override
    public void doGet(StringBuilder sb) {

        String html1 = "<html><head><title>doe</title></head><body><h1>404</h1></body></html>";
        sb.append("Content-Length: "+ html1.length()).append("\r\n");
        sb.append("\r\n");
        sb.append(html1).append("\r\n");
    }
}
